import typescript from "@rollup/plugin-typescript";
import wasm from "@rollup/plugin-wasm";
import commonjs from '@rollup/plugin-commonjs';

export default {
  input: "src/index.ts",
  output: {
    //dir: "dist",
    file: "dist/ld",
    format: "iife"
  },
  plugins: [typescript(), wasm()], // the typescript plugin automatically reads tsconfig.json
};
